package com.navinfo.tripanalysis.offline.service;

import com.navinfo.tripanalysis.common.arithmetic.common.OuterStatisticData;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.SparkSession;

import java.io.Serializable;
import java.util.List;

/**
 * 保存行程统计服务
 * @author 沈东生
 */
public interface SaveTripStatisticService extends Serializable{
     void save(SparkSession spark, JavaSparkContext jsc, JavaPairRDD<Long, List<OuterStatisticData>> pairRDD, long d);
}
